package com.nowcode.community.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * ClassName: User
 * Package: com.nowcode.community.entity
 * Description:
 *
 * @Author: 信
 * @Create: 2024/1/19 - 19:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@Component
public class User {
    private int id;
    private String username;
    private String password;
    private String salt;
    private String email;
    private int type;
    private int status;
    private String activationCode;
    private String headerUrl;
    private Date createTime;
}
